package com.zp.drug.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zp.common.core.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 药品供应商生产商维护对象 drug_supplier_cata
 *
 * @author zhang peng
 * @ date 2023-05-31
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("drug_supplier_cata")
public class DrugSupplierCata extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private String id;

    /**
     * 供应商别名
     */
    private String supplierJc;

    /**
     * 厂商
     */
    private String supplierName;

    /**
     * 厂商类别
     */
    private String supplierClass;

    /**
     * 输入码
     */
    private String inputCode;

    /**
     * 注册商标
     */
    private String trademark;

    /**
     * 是否国外
     */
    private String foreignx;

    /**
     * 厂商代码
     */
    private String supplierCode;

    /**
     * 是否使用
     */
    private String usedFlag;

    /**
     * 标志
     */
    @TableLogic
    private String delFlag;
    /**
     * 备注信息
     */
    private String remarks;

    public void initEntity () {
        this.delFlag = "0";
    }


}
